package com.jinglin.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.License;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户视频序列归档
 * </p>
 *
 * @author ${author}
 * @since 2025-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserVideoSeries对象", description="用户视频序列归档")
public class UserVideoSeries extends Model<UserVideoSeries> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "列表ID")
    @TableId(value = "series_id", type = IdType.ASSIGN_ID)
    private String seriesId;

    @ApiModelProperty(value = "列表名称")
    private String seriesName;

    @ApiModelProperty(value = "描述")
    private String seriesDescription;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除为1 未删除为0")
    @TableLogic
    private Integer deleted;
    @TableField(exist = false)
    private String cover;
    @TableField(exist = false)
    private List<VideoInfo> videoInfoList;


    @Override
    protected Serializable pkVal() {
        return this.seriesId;
    }

}
